<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>判断一个整数,判断是否是3或5的倍数</title>
	</head>
	<body>
		<script type="text/javascript">
			function t(n) {
				if (n % 5 == 0 || n % 3 == 0) {
					return true;
				} else {
					return false;
				}
			}
			let num = prompt();
			console.log(t(num));
		</script>
	</body>
</html>
